return { -- LSP 核心支持
{
    "neovim/nvim-lspconfig",
    lazy = false
}, -- Mason 插件管理
{
    "williamboman/mason.nvim",
    config = true
}, -- mason-lspconfig：自动安装指定语言服务器
{
    "williamboman/mason-lspconfig.nvim",
    config = true,
    opts = {
        ensure_installed = {"gopls", "ts_ls", "volar"}
    }
}, -- 可选：LSP 自动补全功能支持
{
    "hrsh7th/nvim-cmp",
    dependencies = {"hrsh7th/cmp-nvim-lsp"},
    config = function()
        local cmp = require("cmp")
        cmp.setup({
            sources = {{
                name = "nvim_lsp"
            }},
            mapping = cmp.mapping.preset.insert({
                ["<CR>"] = cmp.mapping.confirm({
                    select = true
                })
            })
        })
    end
}}
